package com.baijiaxing.weixin.family.common.consts;

import com.baijiaxing.weixin.family.common.aes.AesException;
import com.baijiaxing.weixin.family.common.aes.WXBizMsgCrypt;

/**
 * Created by June on 2016/12/17.
 */
public class FamilyConsts {

    //微信企业号：CorpID
    public static final String CORPID = "wx9f3e923bc9419d9b";
    //Token可由企业任意填写，用于生成签名
    public static final String TOKEN = "xiaozhaoban12345";
    //EncodingAESKey用于消息体的加密，是AES密钥的Base64编码
    public static final String ENCODINGAESKEY = "5098EjQG2Cbi0O3PVEA9Ou81WeOnK9iG46c7wTHPgtk";

    public static final String SECRET = "WAt_eDind57jlm6QOuGNSVFXwRxOCM0Vz8_W_Fjn0JvhHIPZQiD81R7gsHyRjH5w";


    public static  WXBizMsgCrypt getWXBizMsgCrypt() throws AesException {
        return new WXBizMsgCrypt(TOKEN, ENCODINGAESKEY, CORPID);
    }

}
